<div th:each="search:${appSearchTS}">
    <div class="search-list-item" th:if="${search.getState()} == 2">
        <div class="search-item-text">
            <div class="search-item-title">
                <a th:href="${'/answers_ptl/'+search.getAqId()}" th:utext="${search.getSearchTitle()}"></a>
            </div>
            <div class="search-item-desc">
                <a th:href="${'/answers_ptl/'+search.getAqId()}" th:text="${search.getSearchSynopsis()}"></a>
            </div>
            <div class="list-item-info">
                <a th:href="${'/answers_main/'+search.getClassifyId()}"><span class="tui-jian" th:text="${search.getClassifyT().getClassifyName()}"></span></a>
                <a th:href="${'/msgindex/'+search.getUserId()}" class="user-img-name">
                    <img th:src="${search.getAppUserT().getImgPath()}">
                    <span class="user-name" th:text="${search.getAppUserT().getUserNickname()}"></span>
                </a>
                <div class="ping-lun"><a
                        th:href="${'/answers_ptl/'+search.getAqId()}"><img
                        src="/images/pinglun.png"><span><span th:text="${search.getCaCount()}"></span>回答</span></a></div>
                <div class="shou-cang"><a
                        th:href="${'/answers_ptl/'+search.getAqId()}"><img
                        src="/images/shoucang.png"><span><span th:text="${search.getCollectCount()}"></span>收藏</span></a></div>

                <div class="yue-du"><a
                        th:href="${'/answers_ptl/'+search.getAqId()}"><img
                        src="/images/yuedu.png"><span><span th:text="${search.getReadCount()}"></span>阅读</span></a></div>
                <span class="dotted">·</span>
                <span class="time-before" th:text="${#dates.format(search.getCreateTime(),'MM-dd HH:mm')}"></span>
            </div>
        </div>
    </div>
    <div class="search-list-item" th:if="${search.getState()} == 1">

        <div class="search-item-left">
            <a th:href="${'/consult_solo/'+search.getAqId()}">
                <img th:src="${search.getImgPath()}" alt="有贝口腔网">
            </a>
        </div>
        <div class="search-item-right">
            <div class="search-item-title">
                <a th:href="${'/consult_solo/'+search.getAqId()}" th:utext="${search.getSearchTitle()}"></a>
            </div>
            <div class="search-item-desc"><a th:href="${'/consult_solo/'+search.getAqId()}" th:text="${search.getSearchSynopsis()}"></a></div>
            <div class="list-item-info">
                <a th:href="${'/zx/'+search.getClassifyId()}"><span class="tui-jian" th:text="${search.getClassifyT().getClassifyName()}"></span></a>
                <!-- <span class="come-on" th:text="${vo.sourceName}"></span> -->

                <div class="ping-lun"><a th:href="${'/consult_solo/'+search.getAqId()}"><img src="/images/pinglun.png"><span><span th:text="${search.getCaCount()}"></span>评论</span></a></div>
                <div class="shou-cang"><a th:href="${'/consult_solo/'+search.getAqId()}"><img src="/images/shoucang.png"><span><span th:text="${search.getCollectCount()}"></span>收藏</span></a></div>

                <div class="yue-du"> <a th:href="${'/consult_solo/'+search.getAqId()}"><img src="/images/yuedu.png"><span><span th:text="${search.getReadCount()}"></span>阅读</span></a></div>
                <span class="dotted">·</span>
                <span class="time-before" th:text="${#dates.format(search.getCreateTime(),'MM-dd HH:mm')}"></span>
            </div>
        </div>
    </div>
</div>